package com.wanxi.step07test;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cache.annotation.EnableCaching;
import org.springframework.context.ConfigurableApplicationContext;
import org.springframework.scheduling.annotation.EnableScheduling;
import springfox.documentation.swagger2.annotations.EnableSwagger2;

@SpringBootApplication
//可以缓存
@EnableCaching
//启动定时任务
@EnableScheduling
//生成接口文档
@EnableSwagger2
public class Step07TestApplication {

    public static void main(String[] args) {
        SpringApplication.run(Step07TestApplication.class, args);
    }

}
